;
; Events for Alien Jr.
;
;

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
16
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Aliens
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Aliens
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
UNITKILLED
unit=Flying Saucer
attacker=NATO
defender=Aliens
@THEN
TEXT
^NATO airplanes have shot down a flying saucer, leaving wreckage.  
^
^(Weird Note:  You may get an error when recovering the wreck.  Just
click "Ignore" to keep playing and it should have no effect.)
ENDTEXT
CREATEUNIT
unit=Crashed Saucer
owner=Aliens
veteran=no
homecity=NONE
locations
19,35
18,36
19,37
20,34
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Crashed Saucer
attacker=ANYBODY
defender=Aliens
@THEN
TEXT
Hiding in the wreckage is a lone alien survivor, who is immediately captured and taken in for 
interrogation.  There are also several dead alien bodies and the wreckage itself to study.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=95
@ENDIF

@IF
UNITKILLED
unit=Mother Ship
attacker=ANYBODY
defender=Aliens
@THEN
TEXT
Cheers go out around the world as human weapons bring down a powerful mother ship!  From 
the wreckage a number of interesting things can be learned with a bit of study.  (You may now 
build the New Area 51 Wonder and get two free tech advances.)
ENDTEXT
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=94
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=49
receiver=Aliens
@THEN
TEXT
Much to the chagrin of authorities around the world, a rising number of citizens are joining cults 
that worship the aliens.  It is only a matter of time before some of these collaboratos start taking 
up arms against their own kind.
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=10
receiver=Aliens
@THEN
JUSTONCE
GIVETECHNOLOGY
receiver=Aliens
technology=11
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=90
receiver=Aliens
@THEN
TEXT
Human soldiers  have begun to be outfitted with salvaged weapons by the aliens.  The hope that 
these were mind controlled slaves was quickly quashed after captured bodies were studied by 
Chinese scientists -- these appear to just be collaborators who have taken up arms hoping to get 
rewarded by the aliens.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Aliens
technology=34
@ENDIF

@ENDEVENTS

 
